package com.etc.service;

import com.etc.entity.Patient;

import java.util.List;

public interface HistoryService {
    /**
     * 通过病历Id删除病历
     * @param historyId
     * @return
     */
    boolean deleteHistoryDetail(String historyId);

    /**
     * 通过就诊人ID和医生Id和病因创建病历
     * @param patientName
     * @param doctorId
     * @param content
     * @return
     */
    boolean insertHistoryDetail(String patientName,String doctorId,String content);

    /**
     * 通过病历ID修改病因
     * @param historyId
     * @param historyContent
     * @return
     */
    boolean updateHistoryDetail(String historyId,String historyContent);
}
